import request from "@/utils/request";



//根据学校id 进行查询管理员联系方式
export const getGuanli = (id) => {
	return request({
		url: '/api/front/hitch/passengerManager/getGuanLiBySchoolId',
		method: 'GET',
		data: {
			id
		}
	})
}

//根据商品id 查询商品详情
export const getShangPinXiangQin = (id) => {
	return request({
		url: '/api/front/hitch/passengerManager/getShangPinXiangQinById',
		method: 'GET',
		data: {
			id
		}
	})
}
// 查询配送费用还有起送费用
export const getShopDelivery = () => {
	return request({
		url: '/api/front/hitch/passengerManager/getShopDelivery',
		method: 'GET'
	})
}
// 根据商品类别和楼栋进行查询对应的商品
export const getProductsByCategoryAndBuilding = (data) => {
	return request({
		url: '/api/front/hitch/passengerManager/getProductsByCategoryAndBuilding',
		method: 'POST',
		data
	})
}
// 根据用户id 查询当前用户所有的校园地址
export const getCampusAddress = () => {
	return request({
		url: '/api/front/hitch/passengerManager/getCampusAddress',
		method: 'POST'
	})
}

// 根据校圈地址id进行删除
export const deleteCampusAddress = () => {
	return request({
		url: '/api/front/hitch/passengerManager/deleteCampusAddress',
		method: 'POST'
	})
}

// 根据校圈地址id进行查询
export const getCampusAddressById = (id) => {
	return request({
		url: '/api/front/hitch/passengerManager/getCampusAddressById',
		method: 'POST',
		data: {
			id
		}
	})
}

// 根据学校查询附近酒店
export const getHotelInfo = (data) => {
	return request({
		url: '/api/front/hitch/passengerManager/getHotelInfo',
		method: 'POST',
		data
	})
}
// 根据学校id 查询专升本学校
export const getZsbSchool = (data) => {
	return request({
		url: '/api/front/hitch/passengerManager/getZsbSchool',
		method: 'POST',
		data
	})
}
// 根据学校id 查询该学校的打车信息
export const getTaxiServiceListBySchoolId = (data) => {
	return request({
		url: '/api/front/hitch/passengerManager/getTaxiServiceListBySchoolId',
		method: 'POST',
		data
	})
}
// 根据学校id，查询对应的校园兼职
export const getCampusPartTimeJobListBySchoolId = (data) => {
	return request({
		url: '/api/front/hitch/passengerManager/getCampusPartTimeJobListBySchoolId',
		method: 'POST',
		data
	})
}

// 根据学校id 查询该学校的驾校
export const getDrivingSchoolBySchoolId = (data) => {
	return request({
		url: '/api/front/hitch/passengerManager/getDrivingSchoolBySchoolId',
		method: 'POST',
		data
	})
}